package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author miaoyl
 * @since 2019-01-11
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWAL_T")
public class GwalT extends PO<GwalT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWALENT", type = IdType.INPUT)
    private String GWALENT;
    private String GWAL001;
    private String GWAL002;
    private String GWAL003;
    private String GWAL010;
    private String GWAL011;
    private String GWAL012;
    private String GWAL013;
    private String GWAL014;
    private String GWAL015;
    private String GWAL016;
    private String GWAL017;
    private String GWAL018;
    private String GWAL019;
    private String GWAL020;
    private String GWAL021;
    private String GWALACTI;

    @TableField(fill = FieldFill.INSERT)
    private String GWALUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWALGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWALMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWALTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWALDATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWALORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWALORIU;

    /**
     * 职务
     */
    private String GWAL022;

    /**
     * 上级领导
     */
    private String GWAL023;

    /**
     * 生日
     */
    private String GWAL024;

    /**
     * 兴趣爱好
     */
    private String GWAL025;

    /**
     * 备注
     */
    private String GWAL026;


    @Override
    protected Serializable pkVal() {
        return this.GWALENT;
    }

}
